/*
 * @Description:
 * @Author: jiangsx
 * @Date: 2021-06-24 17:08:18
 * @LastEditors: jiangsx
 * @LastEditTime: 2021-06-27 20:42:14
 */
// 资讯评论管理api
import { get, post } from '@/utils/request'
// request.get("url", { params: {} });
// 批量删除评论
export function batchDelete(data) {
  return post('/comment/batchDelete', data)
}
// 审核评论
export function check(data) {
  return get('/comment/check', data)
}
// 根据ID删除评论
export function deleteById(data) {
  return get('/comment/deleteById', data)
}
// 分页所有评论信息
export function pageQuery(data) {
  return get('/comment/pageQuery', data)
}
// 保存或更新评论
export function saveOrUpdate(data) {
  return post('/comment/saveOrUpdate', data)
}
